package com.zzx.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzx.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.zzx.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 项目信息对象 tb_projects
 *
 * @author Zzx
 * @date 2025-05-23
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class TbProjects extends BaseEntity {

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 项目名称
     */
    @Excel(name = "项目名称")
    private String name;
    /**
     * 项目负责人
     */
    private String principal;
    /**
     * 项目开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    /**
     * 项目周期天数
     */
    private String cycle;

    /**
     * 项目介绍
     */
    @Excel(name = "项目介绍")
    private String description;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * $column.columnComment
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer deleteStatus;
}
